<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <!--  This is the default stylesheet for OneBox Module results (XHTML/XHTML-MP). -->
  <xsl:template name="onebox-default">
<tr><td>
    <a><xsl:attribute name="href"><xsl:value-of select="title/urlLink"/></xsl:attribute><strong><xsl:value-of select="title/urlText"/></strong></a><br/>
    <xsl:for-each select="MODULE_RESULT[position()&lt;=3]">
      <p>
        <xsl:if test="U">
        <a>
          <xsl:attribute name="href">
            <xsl:value-of select="U"/>
          </xsl:attribute>
          <xsl:choose>
            <xsl:when test="Title"><xsl:value-of select="Title"/></xsl:when>
            <xsl:otherwise><xsl:value-of select="U"/></xsl:otherwise>
          </xsl:choose>
        </a>  
        <br/>
      </xsl:if>
      <xsl:for-each select="Field">
        <xsl:if test="@name">
          <strong><xsl:value-of select="@name"/>: </strong>
        </xsl:if>
        <xsl:value-of select="."/>
        <br/>
      </xsl:for-each>
    </p>
  </xsl:for-each>
</td></tr>
  </xsl:template>
</xsl:stylesheet>
